package com.SpringBoot.rolePermission.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户权限关联表
 * </p>
 *
 * @author bxk
 * @since 2025-09-20
 */
@Data
@TableName("user_permission")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户权限关联主键
     */
    @TableId(value = "user_permission_id", type = IdType.AUTO)
    private Integer rolePermissionId;

    /**
     * 关联角色外键
     */
    private Integer roleId;

    /**
     * 关联权限外键
     */
    private Integer permissionId;

    /**
     * 0-启用 1-未启用
     */
    private Integer isDeleted;


}
